#include "EVector.h"
template<typename Item>
EVector<Item>::EVector(void)
{
	DefEVectorCtr();
}

template<typename Item>
EVector<Item>::~EVector(void)
{
	delete _container;
}

template<typename Item>
void EVector<Item>::DefEVectorCtr()
{
	_capacity = VECTOR_DEFAULT_LEN;
	_size = 0;
	_container = new Item[VECTOR_DEFAULT_LEN];

}

template<typename Item>
const Item& EVector<Item>::operator [](int index)  const throw (OutOfIndexException)
{
	if( index < size)
		return _container[index];
	else
		throw new OutOfIndexException;
}

template <typename Item>
void EVector<Item>::resize()
{

}
